package com.example.user.userUtil;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 贾明祯
 * @ClassName ExcelUserModel
 * @Date 2020/8/13 18:51
 */
@EqualsAndHashCode()
@Data
public class ExcelUserModel extends BaseRowModel {

    /**
     * id
     */
    @ExcelProperty(value = "id",index = 0)
    private String id;
    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称",index = 1)
    private String nickName;
    /**
     * 账号
     */
    @ExcelProperty(value = "账号",index = 2)
    private String account;
    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱",index = 3)
    private String email;
    /**
     * 性别
     */
    @ExcelProperty(value = "性别",index = 4)
    private String sex;
    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名",index = 5)
    private String name;
    /**
     * 年龄
     */
    @ExcelProperty(value = "年龄",index = 6)
    private int age;

}
